using System.Data;
using DA;
using ET;

namespace BLL
{
    public class Import_BLL
    {
        public static Import_DAL cls = new Import_DAL();

        #region[Get-Data]
        public DataTable GetDataOrder()
        {
            return cls.GetDataOrder();
        }
        public DataTable GetDataOrderDetail(int id)
        {
            return cls.GetDataOrderDetail(id);
        }
        public DataTable GetOrderBuyCode()
        {
            return cls.GetOrderBuyCode();
        }
        public DataTable GetOrderBuyImportTemp(int id)
        {
            return cls.GetOrderBuyImportTemp(id);
        }
        public DataTable GetOrderBuyDetail(int id)
        {
            return cls.GetOrderBuyDetail(id);
        }
        public DataTable BindGirdtb_Import(string keywords)
        {
            return cls.Search(keywords);
        }
        public DataTable GetBranch_Import(int id)
        {
            return cls.GetBranch_Import(id);
        }
        public DataTable GetWarehouse_Import(int id_1,int id_2)
        {
            return cls.GetWarehouse_Import(id_1, id_2);
        }
        public DataTable GetRoom_Import(int id_1, int id_2)
        {
            return cls.GetRoom_Import(id_1, id_2);
        }
        #endregion

        #region Insert
        public static bool Inserttb_Import(Import_ET obj)
        {
            return cls.Inserttb_Import(obj);
        }
        #endregion

        #region Update
        public static bool Updatetb_Import(Import_ET obj)
        {
            return cls.Updatetb_Import(obj);
        }
        #endregion

        #region Delete
        public static bool Deletetb_Import(int id)
        {
            return cls.Deletetb_Import(id);
        }
        #endregion
    }
}